<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/18
  Time: 22:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setAttribute("omg","你");
   pageContext.setAttribute("omg1","是");
   session.setAttribute("omg2","傻");
   application.setAttribute("omg3","子");

%>
${omg}
${omg1}
${omg2}
${omg3}

<%--${requestScope.omg}--%>
<%--${pageScope.omg1}--%>
<%--${sessionScope.omg2}--%>
<%--${applicationScope.omg3}--%>

</body>
</html>
